package com.xinsoft.entity.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.xinsoft.common.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 委外投料
 * @TableName scm_outsourcing_feeding
 */
@EqualsAndHashCode(callSuper = true)
@TableName(value ="scm_outsourcing_feeding")
@Data
public class ScmOutsourcingFeeding extends BaseEntity implements Serializable {

    /**
     * 委外合同ID
     */
    private Integer outsourcingContractId;

    /**
     * 投料单号
     */
    private String feedingNo;

    /**
     * 供应商id
     */
    private Integer supplierId;

    /**
     * 产品ID
     */
    private Integer materialId;

    /**
     * 委外数量
     */
    private BigDecimal outsourcingNum;

    /**
     * 是否限额(0不限/1限)
     */
    private Integer doQuota;

    /**
     * 交货日期
     */
    private Date deliveryDate;

    /**
     * 审核人
     */
    private Integer auditId;

    /**
     * 审核状态 0-未审核 1-已审核
     */
    private Integer auditStatus;

    /**
     * 审核时间
     */
    private Date auditTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}